package com.ld.security.shop.crawler.modules.re.entity;

import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.base.entity.*;

import com.ld.security.shop.crawler.modules.re.constant.CrawlerConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public abstract class CrawlerEntity extends SuperEntity {


    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("状态")
    private CrawlerConstant.reStatus reStatus;


    @SqlKey(SqlCondition.like)
    @ApiModelProperty("地址")
    private String url;



    @ApiModelProperty("内容")
    private String content;

    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("工程编码")
    private  CrawlerConstant.projectCode projectCode;


    @ApiModelProperty("下一页")
    private String nextUrl;

    @ApiModelProperty("上一页")
    private String preUrl;


}
